/**
 * 
 */
package edu.wisc.hevea.broker;

import java.util.Set;

/**
 * @author anand
 *
 */
public class BrokerState {
	
	private String applicationId;
    private String leader;
    private short replication;
    private Set<String> brokers;
    
    public BrokerState(String applicationId, short replication) {
    	this.applicationId = applicationId;
    	this.replication = replication;
    }
    
	public String getLeader() {
		return leader;
	}
	public void setLeader(String leader) {
		this.leader = leader;
	}
	public short getReplication() {
		return replication;
	}
	public void setReplication(short replication) {
		this.replication = replication;
	}
	public Set<String> getBrokers() {
		return brokers;
	}
	public void setBrokers(Set<String> brokers) {
		this.brokers = brokers;
	}

	public String getApplicationId() {
		return applicationId;
	}

	public void setApplicationId(String applicationId) {
		this.applicationId = applicationId;
	}
        
}
